#include 'protheus.ch'

/*/{Protheus.doc} MT185FIL
(long_description)
@author Guilherme
@since 08/04/2015
@version 1.0
@example
(examples)
@see (links_or_references)
/*/
User function MT185FIL 

	Local cRet 		:= ""
	Local cUserAlmox:= SuperGetMv("KG_USALMOX",.F.,,)
	Local cUserBank	:= SuperGetMv("KG_USBANK",.F.,,)
	
	If __cUserId $ cUserAlmox
		cRet += "CP_ZTIPO $ ('MP,GG,MC,BN,EM,OI,AI,PP')"
	ElseIf __cUserId $ cUserBank
		cRet += "CP_ZTIPO $ ('PI,PA') .AND. !EMPTY(CP_OP)"
	EndIf

return cRet